package com.cropdoctor.model.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("audit_history")
@ApiModel(value = "AuditHistoryPo",description = "历史审核记录相关Po")
public class AuditHistoryPo {
  @TableId
  private Long id;
  @ApiModelProperty(value = "发布状态",example = "已发布")
  private String publishStatus;
  @ApiModelProperty(value = "审核状态",example = "101")
  private String auditStatus;
  @ApiModelProperty(value = "审核建议",example = "视频内容没问题，可以发布")
  private String auditMind;
  @ApiModelProperty(value = "上传人id",example = "1")
  private long uploaderId;
  @ApiModelProperty(value = "上传人姓名",example = "黄教授")
  private String uploaderName;
  @ApiModelProperty(value = "标题",example = "西瓜种植技巧")
  private String title;
  @ApiModelProperty(value = "描述",example = "今天这个视频教大家如何种植西瓜")
  private String description;
  @TableField(fill = FieldFill.INSERT)
  @ApiModelProperty(value = "创建日期",example = "2024-02-04")
  private LocalDate createDate;
  @TableField(fill = FieldFill.INSERT_UPDATE)
  @ApiModelProperty(value = "更新日期",example = "2024-02-04")
  private LocalDate updateDate;
  @ApiModelProperty(value = "对应文件md5值")
  private String fileMd5;
}
